﻿// ParseLib - An open source library for natural language processing.
// Copyright (C) Kais Dukes, 2012. E-mail: kais@kaisdukes.com
// http://parselib.org

using System.Collections.Generic;
using ParseLib.Tagging;

namespace ParseLib.Corpora
{
    public interface ICorpus : IEnumerable<TextualUnit>
    {
        string Source { get; }

        PartOfSpeechTagset PartOfSpeechTagset { get; }

        int TextualUnitCount { get; }

        int TokenCount { get; }

        TextualUnit this[int index] { get; }

        IEnumerable<IToken> Tokens { get; }

        void Load();
    }
}